package com.shopping.mall.core.module.goods.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.shopping.mall.core.module.attributeKey.entity.AttributeKey;
import com.shopping.mall.core.module.goods.entity.Goods;
import com.shopping.mall.core.module.goodsSpecification.entity.GoodsSpecification;
import com.shopping.mall.core.module.goodsSpecification.vo.GoodsSpecificationVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.*;
import javax.validation.groups.Default;
import java.sql.Timestamp;
import java.util.List;

/**
 * @Author ZZY
 * @Date 2021/11/27
 */
@Data
public class GoodsVo {

    @ApiModelProperty(value = "商品表信息")
    private Goods goods;

    @ApiModelProperty(value = "规格表信息(添加多个)")
    private List<GoodsSpecificationVo> goodsSpecificationVoList;

}
